package com.yt.calendar.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.yt.calendar.entity.Event;
import com.yt.calendar.vo.EventVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yt
 * @since 2021-07-16
 */
public interface EventMapper extends BaseMapper<Event> {
    List<EventVo> selectBy(@Param(Constants.WRAPPER) Wrapper wrapper);
}
